package com.hrpc;

public class ServiceConfig<T> {
    private Class<?> interfaceProvider;
    private Object reference;
    private String group="default";

    public ServiceConfig() {
    }

    public ServiceConfig(Class<?> interfaceProvider, Object reference) {
        this.interfaceProvider = interfaceProvider;
        this.reference = reference;
    }

    public Class<?> getInterfaceProvider() {
        return interfaceProvider;
    }

    public void setInterfaceProvider(Class<?> interfaceProvider) {
        this.interfaceProvider = interfaceProvider;
    }

    public Object getReference() {
        return reference;
    }

    public void setReference(Object reference) {
        this.reference = reference;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getGroup() {
        return group;
    }
}
